[INFO] cloning repository https://github.com/steveklabnik/rustbook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steveklabnik/rustbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2Frustbook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2Frustbook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4c63d6e9abb2cf9bb21077d356e617a40189037
[INFO] checking steveklabnik/rustbook against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteveklabnik%2Frustbook" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/steveklabnik/rustbook on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/steveklabnik/rustbook
[INFO] finished tweaking git repo https://github.com/steveklabnik/rustbook
[INFO] tweaked toml for git repo https://github.com/steveklabnik/rustbook written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/steveklabnik/rustbook already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc09e42a7a20bd1747b172e407184ba172177d02322e6bfe4ee877bb09e2606a
[INFO] running `Command { std: "docker" "start" "-a" "bc09e42a7a20bd1747b172e407184ba172177d02322e6bfe4ee877bb09e2606a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc09e42a7a20bd1747b172e407184ba172177d02322e6bfe4ee877bb09e2606a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc09e42a7a20bd1747b172e407184ba172177d02322e6bfe4ee877bb09e2606a", kill_on_drop: false }`
[INFO] [stdout] bc09e42a7a20bd1747b172e407184ba172177d02322e6bfe4ee877bb09e2606a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1043abefdc379cd3975392858619e8db00bbbee419eddcbc9a1f8f3907424912
[INFO] running `Command { std: "docker" "start" "-a" "1043abefdc379cd3975392858619e8db00bbbee419eddcbc9a1f8f3907424912", kill_on_drop: false }`
[INFO] [stderr]     Checking rustbook v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `rustdoc`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rustdoc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustdoc`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rustdoc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_back`
[INFO] [stdout]   --> src/main.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | extern crate rustc_back;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_back`
[INFO] [stdout]   --> src/main.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | extern crate rustc_back;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT, Ordering};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT, Ordering};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 | static EXIT_STATUS: AtomicIsize = ATOMIC_ISIZE_INIT;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 34 | static EXIT_STATUS: AtomicIsize = AtomicIsize::new(0);
[INFO] [stdout]    |                                   ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 | static EXIT_STATUS: AtomicIsize = ATOMIC_ISIZE_INIT;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 34 | static EXIT_STATUS: AtomicIsize = AtomicIsize::new(0);
[INFO] [stdout]    |                                   ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `rustdoc`
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | #![feature(rustdoc)]
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `rustdoc`
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | #![feature(rustdoc)]
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/term.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     err: Box<Write + 'static>
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 -     err: Box<Write + 'static>
[INFO] [stdout] 19 +     err: Box<dyn Write + 'static>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/term.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     err: Box<Write + 'static>
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 -     err: Box<Write + 'static>
[INFO] [stdout] 19 +     err: Box<dyn Write + 'static>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type CliError = Box<Error + 'static>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 - pub type CliError = Box<Error + 'static>;
[INFO] [stdout] 16 + pub type CliError = Box<dyn Error + 'static>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub type CommandError = Box<Error + 'static>;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 - pub type CommandError = Box<Error + 'static>;
[INFO] [stdout] 19 + pub type CommandError = Box<dyn Error + 'static>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/book.rs:80:34
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn parse_summary(input: &mut Read, src: &Path) -> Result<Book, Vec<String>> {
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 80 - pub fn parse_summary(input: &mut Read, src: &Path) -> Result<Book, Vec<String>> {
[INFO] [stdout] 80 + pub fn parse_summary(input: &mut dyn Read, src: &Path) -> Result<Book, Vec<String>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/subcommand.rs:34:45
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn parse_name(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 - pub fn parse_name(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 34 + pub fn parse_name(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/help.rs:20:44
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 20 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 30 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:38:62
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn write_toc(book: &Book, current_page: &BookItem, out: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 - fn write_toc(book: &Book, current_page: &BookItem, out: &mut Write) -> io::Result<()> {
[INFO] [stdout] 38 + fn write_toc(book: &Book, current_page: &BookItem, out: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |                   out: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 -                   out: &mut Write) -> io::Result<()> {
[INFO] [stdout] 42 +                   out: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type CliError = Box<Error + 'static>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 - pub type CliError = Box<Error + 'static>;
[INFO] [stdout] 16 + pub type CliError = Box<dyn Error + 'static>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:51:28
[INFO] [stdout]    |
[INFO] [stdout] 51 |                  out: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 -                  out: &mut Write) -> io::Result<()> {
[INFO] [stdout] 51 +                  out: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub type CommandError = Box<Error + 'static>;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 - pub type CommandError = Box<Error + 'static>;
[INFO] [stdout] 19 + pub type CommandError = Box<dyn Error + 'static>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/serve.rs:20:44
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 20 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/book.rs:80:34
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn parse_summary(input: &mut Read, src: &Path) -> Result<Book, Vec<String>> {
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 80 - pub fn parse_summary(input: &mut Read, src: &Path) -> Result<Book, Vec<String>> {
[INFO] [stdout] 80 + pub fn parse_summary(input: &mut dyn Read, src: &Path) -> Result<Book, Vec<String>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/test.rs:24:44
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 24 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/subcommand.rs:34:45
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn parse_name(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 - pub fn parse_name(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 34 + pub fn parse_name(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/help.rs:20:44
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 20 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 30 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:38:62
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn write_toc(book: &Book, current_page: &BookItem, out: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 - fn write_toc(book: &Book, current_page: &BookItem, out: &mut Write) -> io::Result<()> {
[INFO] [stdout] 38 + fn write_toc(book: &Book, current_page: &BookItem, out: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |                   out: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 -                   out: &mut Write) -> io::Result<()> {
[INFO] [stdout] 42 +                   out: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/build.rs:51:28
[INFO] [stdout]    |
[INFO] [stdout] 51 |                  out: &mut Write) -> io::Result<()> {
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 -                  out: &mut Write) -> io::Result<()> {
[INFO] [stdout] 51 +                  out: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/serve.rs:20:44
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 20 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/test.rs:24:44
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout]    |                                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub fn parse_cmd(name: &str) -> Option<Box<Subcommand>> {
[INFO] [stdout] 24 + pub fn parse_cmd(name: &str) -> Option<Box<dyn Subcommand>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/subcommand.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let cmds: [fn(&str) -> Option<Box<Subcommand>>; 4] = [help::parse_cmd,
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     let cmds: [fn(&str) -> Option<Box<Subcommand>>; 4] = [help::parse_cmd,
[INFO] [stdout] 35 +     let cmds: [fn(&str) -> Option<Box<dyn Subcommand>>; 4] = [help::parse_cmd,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/subcommand.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let cmds: [fn(&str) -> Option<Box<Subcommand>>; 4] = [help::parse_cmd,
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     let cmds: [fn(&str) -> Option<Box<Subcommand>>; 4] = [help::parse_cmd,
[INFO] [stdout] 35 +     let cmds: [fn(&str) -> Option<Box<dyn Subcommand>>; 4] = [help::parse_cmd,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:55:44
[INFO] [stdout]    |
[INFO] [stdout] 55 |                         println!("{}", err.description());
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:55:44
[INFO] [stdout]    |
[INFO] [stdout] 55 |                         println!("{}", err.description());
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustbook` due to 20 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rustbook` due to 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "1043abefdc379cd3975392858619e8db00bbbee419eddcbc9a1f8f3907424912", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1043abefdc379cd3975392858619e8db00bbbee419eddcbc9a1f8f3907424912", kill_on_drop: false }`
[INFO] [stdout] 1043abefdc379cd3975392858619e8db00bbbee419eddcbc9a1f8f3907424912
